<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<h2>这是身体-首页</h2>
<div class="form-group">
    <label for="j_captcha" class="t">验证码：</label>
    <input id="j_captcha" name="j_captcha" type="text" class="form-control x164 in">
    <img id="captcha_img" alt="点击更换" title="点击更换"
         onclick="changeVerifyCode(this)" src="${path}/captcha" class="m">
</div>
<script type="text/javascript">
    function changeVerifyCode(img) {
        img.src = "${path}/captcha?" + Math.floor(Math.random() * 100);
    }
</script>